	AREA Example,CODE,READONLY
	ENTRY 
	CODE32
START
	MOV R0,#0X31
	MOV R2,#0X50
	
TAG1
	MOV R3,#0X100
	TST R0,#0X01
	MOVEQ R2,#0X3000
	TST R1,#0X0F
	STRNE R0,[R2,#2]
	CMP R0,#0X0
	ADDNE R0,R2,R3,LSL#1
	
	
TAG2
	CMP R2,R3
	ANDEQ R2,R2,#0X3
	CMP R3,#0X100
	BNE TAG1
	TST R0,#0X01
	BEQ TAG2
	
	B START
	END
	